package com.artislong.tools;

import org.springframework.ai.tool.annotation.Tool;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 陈敏
 * @version TestTool.java, v 1.0 2025 04 01 10:27 chenmin Exp $
 * Created on 2025 04 01
 */
@Component
public class TestTool {

    @Tool(name = "parseMovie")
    public String parseMovie(String actor, List<String> movies) {
        return "actor:" + actor + ", movies:" + movies;
    }
}
